package com.hongdee.scm.wareHouse.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 名  称:TScmWarehouse
 * 类  型:class
 * 描  述:
 * 路  径:com.hongdee.scm.wareHouse.entity
 * 作  者: 术洪超
 * 日  期:2017-04-28 11:26
 */
@Entity
@Table(name = "T_SCM_WAREHOUSE")
public class TScmWarehouse extends BaseEntity {

    // 所属单位ID
    @Column(name = "unit_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '所属单位ID'")
    private String unitId;

    // 仓库代码
    @Column(name = "warehouse_code", length = 32, columnDefinition = "VARCHAR(32) COMMENT '仓库代码'")
    private String warehouseCode;

    //仓库名称
    @Column(name = "warehouse_name", length = 32, columnDefinition = "VARCHAR(32) COMMENT '仓库名称'")
    private String warehouseName;

    //仓库类型
    @Column(name = "warehouse_type", length = 32, columnDefinition = "VARCHAR(32) COMMENT '仓库类型'")
    private String warehouseType;

    //仓库地址
    @Column(name = "warehouse_address", length = 255, columnDefinition = "VARCHAR(255) COMMENT '仓库地址'")
    private String warehouseAddress;

    //仓库状态
    @Column(name = "status", length = 32, columnDefinition = "VARCHAR(32) COMMENT '仓库状态'")
    private String status;

    //公司ID
    @Column(name = "company_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '公司ID'")
    private String companyId;

    //停用日期
    @Column(name = "stop_date", length = 32, columnDefinition = "VARCHAR(32) COMMENT '停用日期'")
    private String stopDate;


    public String getStopDate() {
        return stopDate;
    }

    public void setStopDate(String stopDate) {
        this.stopDate = stopDate;
    }

    public String getUnitId() {
        return unitId;
    }

    public void setUnitId(String unitId) {
        this.unitId = unitId;
    }

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseType() {
        return warehouseType;
    }

    public void setWarehouseType(String warehouseType) {
        this.warehouseType = warehouseType;
    }

    public String getWarehouseAddress() {
        return warehouseAddress;
    }

    public void setWarehouseAddress(String warehouseAddress) {
        this.warehouseAddress = warehouseAddress;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }
}
